package com.isoftstone.industry.aaa.schedule;

import javax.annotation.Resource;

import org.apache.log4j.Logger;
import org.springframework.stereotype.Component;

import com.isoftstone.industry.aaa.core.service.rebuildticket.IRebuildTicketService;

/**
 * @ClassName: RebuildTicketJob
 * @Description: TODO
 * @Author Alvin
 * @Date Jun 26, 2014 10:04:06 AM
 */
@Component("rebuildTicketJob")
public class RebuildTicketJob
{
	private final Logger		logger	= Logger.getLogger(RebuildTicketJob.class);
	
	@Resource
	private IRebuildTicketService rebuildTicketService;

	public void work()
	{
		logger.info("重建话单开始...");
		rebuildTicketService.rebuildTicket();
		logger.info("重建话单结束...");
	}
}